package com.tcj.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author tcj
 * @date 2020/10/13 14:09
 * 返回响应对象
 */
@Data
public class JsonResult {
    /**
     * 状态码
     */
    @ApiModelProperty(value = "响应状态码")
    private int status;
    /**
     * 提示消息
     */
    @ApiModelProperty(value = "响应提示信息")
    private String message;
    /**
     * 错误对象
     */
    @ApiModelProperty(value = "响应错误信息")
    private Object error;
    /**
     * 数据
     */
    @ApiModelProperty(value = "响应的数据")
    private Object data;
    @ApiModelProperty(value = "token")
    private String token;
}
